﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Treinamento2015_01.Models
{
    public class ManufacturerViewModel
    {
        [Key]
        public int Id { get; set; }

        [Required(ErrorMessageResourceType = typeof(Resources.General.Resource),
          ErrorMessageResourceName = "Required")]
        [Display(ResourceType = typeof(Resources.General.Resource), Name = "Name")]
        public string Name { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "IsActive")]
        public bool IsActive { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "CreationDate")]
        public DateTime CreationDate { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "CreationDate")]
        public DateTime ModificationDate { get; set; }
    }
}